//
//  NSString+Numeric.m
//  JFBase
//
//  Created by Sunline on 2018/11/20.
//  Copyright © 2018 Alan Wang. All rights reserved.
//

#import "NSString+Numeric.h"

@implementation NSString (Numeric)

//给正数%增加 +
-(NSString *) addPlusSymbolPctWithString:(NSString *)string{
    if ([string doubleValue]>0) {
        return [NSString stringWithFormat:@"+%@",string];
    }
    else{
        return string;
    }
}

@end
